/* -------------------------------------------------------- 上传 json 数据 -- */
const Index = ({ database, table_name }) => {
	return {
		modal:{
			title: <span>修改【<b className='c3'>{ table_name }</b>】表名</span>,
			width 	: '35%',
		},
		form: {
			labelWidth: 's5',
			api: 'mysql/mod_table_name',
			infoApi : false,
			param: { database, table_name },
			data: [
				{ label: '当前表名', name:'table_name', disabled:1 },
				{ label: '重命名', name:'name', r:1 },
			]
		}
	}
}
export default Index